diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 16:36:35 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 16:36:35 +0100 |
| commit | 5c834e269bfff00b92ee63862cbbc7165743de9e (patch) | |
| tree | be15791166e572b246dd7a4adba0cf66d3bffe08 /communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js | |
| parent | 7dd09b51c733532ecb54951237f94368dd11badd (diff) | |
| download | unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar.gz unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar.bz2 unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar.xz unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.zip | |
add better-auth
Diffstat (limited to 'communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js')
| -rw-r--r-- | communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js b/communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js new file mode 100644 index 0000000..2aabedd --- /dev/null +++ b/communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js @@ -0,0 +1,4 @@ +import { auth } from "@/auth"; +import { toNextJsHandler } from "better-auth/next-js"; + +export const { POST, GET } = toNextJsHandler(auth); |
